package com.guan.ordering_sys.generator.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.guan.ordering_sys.generator.entity.Account;
import com.guan.ordering_sys.param.AccountParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 林煜岚
 * @since 2021-06-23
 */
public interface AccountService extends IService<Account> {

    /**
     * 登陆
     *
     * @param accountParam
     * @return
     */
    Account login(AccountParam accountParam);

    /**
     * 注册
     *
     * @param accountParam
     * @return
     */
    int register(AccountParam accountParam);

}
